<template>
  <h3>模板语法</h3>
  <p>{{ msg }}</p> 
  <p>{{ ok? 'Yes' : 'No'}}</p>
</template>

<script>
export default{
  data(){
    return {
      msg:"神奇的语法",
      ok :true,
      rawHtml:"<a href='https://www.baidu.com'>"
    }
  }
}
</script>